import Cookies from 'js-cookie';

const TokenKey = 'Nsc-Token';
const ZkTokenKey = 'ZkNsc-Token';

export function getToken() {
  return Cookies.get(TokenKey);
}

export function setToken(token) {
  return Cookies.set(TokenKey, token);
}

export function removeToken() {
  return Cookies.remove(TokenKey);
}

export function removeZkToken() {
  return Cookies.remove(ZkTokenKey);
}

export function setZkToken(zkToken) {
  return Cookies.set(ZkTokenKey, zkToken);
}

export function getZkToken() {
  return Cookies.get(ZkTokenKey);
}
